package com.hksj.em.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

@Data
@TableName(value = "s_surgical_dispatch")
public class IntelligentDispatching {

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "楼层id")
    private String floorId;

    @ApiModelProperty(value = "楼层id")
    private String room_code;

    @ApiModelProperty(value = "首台开始时间")
    private String firstOneStartTime;

    @ApiModelProperty(value = "首台结束时间")
    private String firstOneEndTime;

    @ApiModelProperty(value = "提前开机时间(分钟)")
    private int earlyStartupTime;

    @ApiModelProperty(value = "延迟关机时间(分钟)")
    private int delayShutdownTime;

    @ApiModelProperty(value = "是否启动提前开机时间(分钟)")
    private int orStartEarlyStartupTime;

    @ApiModelProperty(value = "是否启动延迟关机(分钟)")
    private int orStartDelayedShutdown;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date updateTime;

}
